<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>
{include file="public/top"}
</head>
<body>
<article class="page-container">
	<form  action="{:url('Article/article_add_ad')}" method="post"  class="form form-horizontal" id="form-article-add">
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">标题：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" value="" placeholder="" id="title" name="title">
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">作者：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" value="" placeholder="" id="zuoze" name="zuoze">
			</div>
		</div>
		
		
	
		
		
		<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3">内容：</label>
		<div class="formControls col-xs-8 col-sm-9">
		   <textarea id="editor_id" name="conte" style="width:700px;height:300px;"></textarea>
		</div>
		</div>
		
		
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
			<input value="保存并提交审核"  class="btn btn-primary radius" type="submit" />
			</div>
		</div>
	</form>
</article>

<!--_footer 作为公共模版分离出去-->
{include file="public/footer"}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__STATIC__/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="__STATIC__/admin/lib/jquery.validation/1.14.0/jquery.validate.js"></script> 
<script type="text/javascript" src="__STATIC__/admin/lib/jquery.validation/1.14.0/validate-methods.js"></script> 
<script type="text/javascript" src="__STATIC__/admin/lib/jquery.validation/1.14.0/messages_zh.js"></script>
<script type="text/javascript" src="__STATIC__/admin/lib/webuploader/0.1.5/webuploader.min.js"></script> 
<script type="text/javascript" src="__STATIC__/admin/lib/ueditor/1.4.3/ueditor.config.js"></script> 
<script type="text/javascript" src="__STATIC__/admin/lib/ueditor/1.4.3/ueditor.all.min.js"> </script> 
<script type="text/javascript" src="__STATIC__/admin/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script charset="utf-8" src="__STATIC__/admin/editor/kindeditor.js"></script>
<script charset="utf-8" src="__STATIC__/admin/editor/lang/zh-CN.js"></script>
<script type="text/javascript">
$(function(){
	$('.skin-minimal input').iCheck({
		checkboxClass: 'icheckbox-blue',
		radioClass: 'iradio-blue',
		increaseArea: '20%'
	});
	
	//表单验证
	//$("#form-article-add").validate({
	//	rules:{
	///		title:{
	//			required:true,
	//		},
	//		zuoze:{
	//			required:true,
	//		},
		
		

	//	},
	//	onkeyup:false,
	//	focusCleanup:true,
	//	success:"valid",
	//	submitHandler:function(form){
		
			
			//$(form).ajaxSubmit();
	//		var index = parent.layer.getFrameIndex(window.name);
			//parent.$('.btn-refresh').click();
	//		parent.layer.close(index);
	//	}
	//});
	
	
	
});
</script>
<!-- 文本编辑器 -->
<script>
        KindEditor.ready(function(K) {
                window.editor = K.create('#editor_id');
        });
        
        var options = {
                cssPath : '/css/index.css',
                filterMode : true
        };
        var editor = K.create('textarea[name="content"]', options);
</script>
<!--/请在上方写此页面业务相关的脚本-->

</body>
</html>